#!/bin/sh

# install those package to _vendor/pkg
GOPATH="`pwd`/_vendor"

# all essential packages
GOLIBS="github.com/siddontang/go-log/log \
        github.com/ugorji/go/codec \
        github.com/go-sql-driver/mysql \
        gopkg.in/mgo.v2/bson"

# install package
for LIB in $GOLIBS; do
  echo "go get $LIB"
  go get $LIB
done
